import request from '@/utils/request'

// 查询加盟店调研评价结果
export function listChoice(query) {
  return request({
    url: '/qyxd/xcx/surveyResult',
    method: 'get',
    params: query
  })
}

// 查询年份季度
export function getYear(query) {
  return request({
    url: '/qyxd/xcx/year',
    method: 'get',
    params: query
  })
}

// 导出加盟店调研评价结果
export function exportChoice(query) {
  return request({
    url: '/qyxd/xcx/export',
    method: 'get',
    params: query
  })
}
